package com.qf.util;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.Date;

/**
 * IntelliJ IDEA -> springboot120622
 * 2019/12/7 1:02
 *
 * @author zmyao
 * 别看，我是渣渣。
 */

/*@Configuration
@EnableScheduling*/
public class MySpringTask
{

//    @Scheduled(cron = " * * * * * * ")
    public  void test1(){
        System.out.println("springTask的任务："+new Date());
    }
}
